package net.wnb.mineclearance.test;

import javax.swing.JFrame;

import net.wnb.mineclearance.ui.MainWindow;
import net.wnb.mineclearance.ui.MenuPane;

public class MineClearanceTester {
	MainWindow win;
	
	public static void main(String[] args){
		MineClearanceTester tester = new MineClearanceTester();
		tester.testSelectionPane();
	}
	
	public MineClearanceTester(){
		win = MainWindow.getInstance();
		win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
	
	public void testSelectionPane(){
		MenuPane pane = new MenuPane();
		win.setPane(pane);
		win.setVisible(true);
	}
}
